<template>
	<view>
		<web-view :src="src"></web-view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				src:'',
				path:'',
				srcP:''
			};
		},
		onLoad(option) {
			this.srcP = option.src
			this.path = option.path
			this.src = option.src+'/#/'+option.path
		},
		onShareAppMessage(){
			let that=this
			 return {
			      path:'/pages/webview/webview?src='+that.srcP+'&path='+that.path ,
			    };
		},
	}
</script>

<style lang="scss">

</style>
